<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title></title>
		<!-- Layui -->
		<link rel="stylesheet" href="resources/layui/css/layui.css" media="all"/>
		<!-- style -->
		<link rel="stylesheet" href="resources/map/css/style.css" media="all"/>
	</head>
	<body>
		
		<div class="layui-fluid">
			<div class="layui-row layui-col-space10">
				<form class="layui-form" action="" style="margin-top: 20px;">
					<div class="layui-col-sm6 layui-col-md6">
						<div class="layui-form-item">
							<label class="layui-form-label">出租商户名称：</label>
							<div class="layui-input-block">
								<input type="text" name="m_name" id="m_name" lay-verify="required" autocomplete="off" class="layui-input">
							</div>
						</div>
						<div class="layui-form-item">
							<label class="layui-form-label">车位地址：</label>
							<div class="layui-input-block">
								<input type="text" name="m_address" id="m_address" lay-verify="required" autocomplete="off" class="layui-input">
							</div>
						</div>
					</div>
					
					<div class="layui-col-sm6 layui-col-md6">
						<div class="layui-form-item">
							<label class="layui-form-label">车位单价(元/h)：</label>
							<div class="layui-input-block">
								<input type="text" name="price" id="price" lay-verify="required" autocomplete="off" class="layui-input">
							</div>
						</div>
						<div class="layui-form-item">
							<label class="layui-form-label">出租商户联系方式：</label>
							<div class="layui-input-block">
								<input type="text" name="m_phoneNum" id="m_phoneNum" lay-verify="required" autocomplete="off" class="layui-input">
							</div>
						</div>
					</div>
				</form>
			</div>
		</div>

        <script type="text/javascript" src="resources/layui/layui.js"></script>

        <script type="text/javascript" src="resources/layui/layui.js"></script>
        <script type="text/javascript" src="resources/map/mapContent/userMap.js"></script>
        <script>
        	layui.use(['layer','form'], function(){
        		var layer = layui.layer,
        		form = layui.form;

			    //监听提交
			    form.on('submit(demo1)', function(data){
			    	layer.alert(JSON.stringify(data.field), {
			    		title: '最终的提交信息'
			    	})
			    	return false;
			    });

        	});
        </script>
	</body>
</html>
